package com.ethink.warehouse.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import com.ethink.framework.common.db.SuperEntity;

/**
 * 物流跟进单 数据库实体
 *
 * @author default
 * @date 2022-12-19
 */
@Data
@TableName("t_logistics_trace_order")
public class LogisticsTraceOrder extends SuperEntity {

    public static final String ORDER_NO ="order_no";

    public static final String ORDER_STATUS ="order_status";

    public static final String SOURCE_ORDER_TYPE ="source_order_type";

    public static final String STEP_STATUS ="step_status";

    public static final String STEP_TYPE ="step_type";

    public static final String BIZ_CONFIG ="biz_config";

    public static final String SOURCE_ENTITY_TYPE ="source_entity_type";

    public static final String SOURCE_WAREHOUSE_CODE ="source_warehouse_code";

    public static final String SOURCE_WAREHOUSE_NAME ="source_warehouse_name";

    public static final String TARGET_WAREHOUSE_CODE ="target_warehouse_code";

    public static final String TARGET_WAREHOUSE_NAME ="target_warehouse_name";

    public static final String TARGET_ENTITY_TYPE ="target_entity_type";

    public static final String TRANSPORT_ENTITY ="transport_entity";

    public static final String CREATE_USER_CODE ="create_user_code";

    public static final String CREATE_USER_NAME ="create_user_name";

    public static final String TAKE_ORDER_NO ="take_order_no";

    public static final String SOURCE_COUNTRY ="source_country";

    public static final String SOURCE_PORT ="source_port";

    public static final String TARGET_COUNTRY ="target_country";

    public static final String TARGET_PORT ="target_port";

    public static final String EXPRESS_COMPANY ="express_company";

    public static final String TRANSPORT_MODEL ="transport_model";

    public static final String TRANSPORT_COST_AMT ="transport_cost_amt";

    public static final String DELIVERY_MODEL ="delivery_model";

    public static final String TORR ="torr";

    public static final String BOX ="box";

    public static final String PACKAGE_FILE_ID ="package_file_id";

    public static final String EXPIRE_FH_TIME ="expire_fh_time";

    public static final String ACTUAL_FH_TIME ="actual_fh_time";

    public static final String EXPIRE_DG_TIME ="expire_dg_time";

    public static final String ACTUAL_DG_TIME ="actual_dg_time";

    public static final String EXPIRE_DC_TIME ="expire_dc_time";

    public static final String ACTUAL_DC_TIME ="actual_dc_time";

    public static final String ACTUAL_LH_TIME ="actual_lh_time";

    public static final String ACTUAL_SJ_TIME ="actual_sj_time";

    public static final String FILE_ID ="file_id";

    public static final String CONFIRM_FILE_ID ="confirm_file_id";

    public static final String FLOW_ID ="flow_id";


    /** 物流单号 */
    private String orderNo;

    /** 枚举 订单状态:1-准备(s1)|2-待处理(s2)|3-完成(s3) */
    private Integer orderStatus;

    /** 原始订单类型 */
    private String sourceOrderType;

    /** 流程状态 */
    private String stepStatus;

    /** 流程类型 */
    private String stepType;

    /** 业务配置 */
    private String bizConfig;

    /** 枚举 始发主体类型:1-供应商(t1)|2-客户(t2)|3-分仓(t3) */
    private Integer sourceEntityType;

    /** 始发仓编码 */
    private String sourceWarehouseCode;

    /** 始发仓名称 */
    private String sourceWarehouseName;

    /** 目的仓编码 */
    private String targetWarehouseCode;

    /** 目的仓名称 */
    private String targetWarehouseName;

    /** 枚举 目的主体类型:1-供应商(t1)|2-客户(t2)|3-分仓(t3) */
    private Integer targetEntityType;

    /** 枚举 运输方:1-我方(t1)|2-供应商(t2)|3-客户(t3)|4-虚拟(t4) */
    private Integer transportEntity;

    /** 创建人账号 */
    private String createUserCode;

    /** 创建人名称 */
    private String createUserName;

    /** 提单号 */
    private String takeOrderNo;

    /** 始发国 */
    private String sourceCountry;

    /** 始发港 */
    private String sourcePort;

    /** 目的国 */
    private String targetCountry;

    /** 目的港 */
    private String targetPort;

    /** 货代物流 */
    private String expressCompany;

    /** 运输方式 */
    private String transportModel;

    /** 运输费用 */
    private BigDecimal transportCostAmt;

    /** 送货模式 */
    private String deliveryModel;

    /** 托 */
    private String torr;

    /** 箱 */
    private String box;

    /** 打托资料附件 */
    private String packageFileId;

    /** 预计发货日期 */
    private Date expireFhTime;

    /** 实际发货日期 */
    private Date actualFhTime;

    /** 预计到港日期 */
    private Date expireDgTime;

    /** 实际到港日期 */
    private Date actualDgTime;

    /** 预计到仓日期 */
    private Date expireDcTime;

    /** 实际到仓日期 */
    private Date actualDcTime;

    /** 实际理货日期 */
    private Date actualLhTime;

    /** 实际上架日期 */
    private Date actualSjTime;

    /** 附件文件ID */
    private String fileId;

    /** 理货报告附件 */
    private String confirmFileId;

    /** 流程ID */
    private String flowId;

}
